package cn.kgc.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

public class Repair implements Serializable{
    private Integer id;
    private String repairRecord;
    @JSONField(format = "yyyy年MM月")
    private Date repairTime;
    private Integer deviceId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRepairRecord() {
        return repairRecord;
    }

    public void setRepairRecord(String repairRecord) {
        this.repairRecord = repairRecord;
    }

    public Date getRepairTime() {
        return repairTime;
    }

    public void setRepairTime(Date repairTime) {
        this.repairTime = repairTime;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Repair() {

    }

    public Repair(Integer id, String repairRecord, Date repairTime, Integer deviceId) {

        this.id = id;
        this.repairRecord = repairRecord;
        this.repairTime = repairTime;
        this.deviceId = deviceId;
    }
}
